package com.woniuxy.lrz.carlproject.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.lrz.carlproject.controller.form.formcar.CarAddOrUpdateForm;
import com.woniuxy.lrz.carlproject.controller.form.formcar.CarBrandFindForm;
import com.woniuxy.lrz.carlproject.model.CarBrand;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.lrz.carlproject.service.dto.dtocar.CarBrandDto;

import java.util.ArrayList;

/**
 * <p>
 * 汽车品牌表 服务类
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
public interface CarBrandService extends IService<CarBrand> {

    boolean addOrUpdateCarBrand(CarAddOrUpdateForm carAddOrUpdateForm);

    boolean deleteCarBrand(Integer carBrandId);

    Page<CarBrandDto> findCarBrand(CarBrandFindForm carBrandFindForm);
}
